const School = {
	name:'School',
	template:`
		<div>
			<h2>学校名称：{{sname}}</h2>
			<h2>学校地址：{{address}}</h2>
			<button @click="showSchool">提示学校信息</button>
			<button @click="sname += '！'">修改学校名</button>	
		</div>
	`,
	data(){
		return {
			sname:'尚硅谷',
			address:'宏福科技园',
		}
	},
	methods: {
		showSchool(){
			console.log(this)
			alert(`${this.sname},${this.address}`)
		},
	}
}